<?php
/* Smarty version 3.1.30, created on 2017-10-29 02:38:47
  from "C:\ComsenzEXP\wwwroot\Moodblog\templete\default\head.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_59f53f37542b19_63761619',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '60be2ae4442060e1e227fa38d2f2ea6444120b2a' => 
    array (
      0 => 'C:\\ComsenzEXP\\wwwroot\\Moodblog\\templete\\default\\head.html',
      1 => 1509244724,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_59f53f37542b19_63761619 (Smarty_Internal_Template $_smarty_tpl) {
?>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
	<link rel="stylesheet" type="text/css" href="templete/<?php echo $_smarty_tpl->tpl_vars['templete']->value;?>
/css/common.css" />
	<?php echo '<script'; ?>
 src="templete/<?php echo $_smarty_tpl->tpl_vars['templete']->value;?>
/js/core.js"><?php echo '</script'; ?>
>
</head>
<body>
	<div class="leftBan">
			<div class="logo">
				<img class="logoImg" src="templete/<?php echo $_smarty_tpl->tpl_vars['templete']->value;?>
/img/logo.png"/>
				<p class="logoText">
				<?php echo $_smarty_tpl->tpl_vars['logotext']->value;?>

				</p>
			</div>
			<div class="menu">
				<ul>
					<li>
						<a href="index.php">首页</a>
					</li>
					<li>
						<a href="index.php?type=0">杂记</a>
					</li>
					<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['list']->value, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
?>
					<li><a href="index.php?type=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
</a></li>
					<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

				</ul>
			</div>
	</div>
	<div class="topMenu">
		<div class="topBan">
		<ul>
			<li><a style="margin-top:15px;padding:3px 10px;border:1px solid white;" href="http://dream.supmers.com/" target="_blank"><font color='white'>原梦战论坛点这里</font></a></li>
			<?php if (!$_smarty_tpl->tpl_vars['user']->value) {?>
				<li><a href="login.php">登录</a></li>
				<li><a href="register.php">注册</a></li>
			<?php }?>
			<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['topmenu']->value, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
?>
				<?php if ($_smarty_tpl->tpl_vars['value']->value['state'] == 0) {?>
					<li><a href="<?php echo $_smarty_tpl->tpl_vars['value']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</a></li>
				<?php }?>
			<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>

			<?php if ($_smarty_tpl->tpl_vars['user']->value) {?>
				<li class="mycenter">
					<a class="mycenter_icon" href=""><span class="iconfont">&#xe625;</span></a>
					<div class="mycenter_list">
						<ul>
							<li style="padding:5px 0px;">昵称：<?php echo $_smarty_tpl->tpl_vars['user']->value['username'];?>
</li>
							<li><a href="mycenter.php">账号信息</a></li>
							<li><a href="">未读消息</a></li>
							<li><a href="trans.php?action=logout">退出</a></li>
						</ul>
					</div>
				</li>
			<?php }?>
		</ul>
		</div>
	</div>
</body>
</html><?php }
}
